class Animal():
    def __init__(self, color):
        self.color = color
    def call(self):
        print("动物的叫声")

class Fish(Animal):
    def __init__(self, tail):
        self.tail = tail
    def swim(self):
        print(f"{self.tail}的鱼在海底自由的游")

fish = Fish("长尾巴")
fish.swim()
fish.call()
